package com.efast.cafe.commponent.log.ext;

import org.slf4j.event.Level;

public interface CafeLogger {
	
	/**
	 * 生产日志
	 * @param level org.apache.logging.log4j.Level。INFO
	 * @param message 消息内容
	 * @param remark 提示信息 或关键字
	 */
	public void cacheLog(Level level, String message, String keyword);

	public void info(String message, Object... params);

	public void info(String message);

	public void info(String message, Throwable t);

	public void debug(String message, Object... params);

	public void debug(String message);

	public void debug(String message, Throwable t);

	public void warn(String message, Object... params);

	public void warn(String message);

	public void warn(String message, Throwable t);

	public void error(String message, Object... params);

	public void error(String message);

	public void error(String message, Throwable t);

	public void trace(String message, Object... params);

	public void trace(String message);

	public void trace(String message, Throwable t);

	

}
